<div class="row-fluid sortable">
    <div class="box span12">
        <div class="box-header" data-original-title>
            <h2><i class="icon-plus"></i><span class="break"></span>Thêm quảng cáo</h2>
            <div class="box-icon">
                <a href="#" class="btn-setting"><i class="icon-wrench"></i></a>
                <a href="#" class="btn-minimize"><i class="icon-chevron-up"></i></a>
                <a href="#" class="btn-close"><i class="icon-remove"></i></a>
            </div>
        </div>
        <div class="box-content">
            <form class="form-horizontal ads_form" method="POST" enctype="multipart/form-data" action="<?php echo Yii::app()->createUrl('advertisement/create'); ?>">
                <fieldset>
                    <div class="control-group">
                        <label class="control-label" >Tên quảng cáo <span style="color:red;">(*)</span></label>
                        <div class="controls">
                            <input type="text" class="input-xlarge" id="date01" name="Advertisement[name]" />
                        </div>
                    </div>

                    <div class="control-group">
                        <label class="control-label" for="fileInput"> Hình ảnh</label>
                        <div class="controls">
                            <input class="input-file uniform_on require" required name="Advertisement[image_url]" id="fileInput" type="file" accept="image/*" />
                        </div>
                    </div>          
                    <div class="control-group hidden-phone">
                        <label class="control-label" for="textarea2"> Nội dung </label>
                        <div class="controls">
                            <textarea class="cleditor" name="Advertisement[description]" id="textarea2" rows="3"></textarea>
                        </div>
                    </div>
                    <div class="form-actions">
                        <button type="submit" class="btn btn-primary btn-ads">Thêm mới</button>
                        <button type="reset" class="btn">Huỷ bỏ</button>
                    </div>
                </fieldset>
            </form>   

        </div>
    </div><!--/span-->